package cn.ylz.ylmall.account.pojo.param;

import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data
public class RoleAddParams {
    @NotNull(message = "角色新增权限失败，请至少选择1种权限！")
    @Size(min = 1, message = "角色新增权限失败，请至少选择1种权限！")
    private Long[] permissionIds;
}
